package com.learn.springboot.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.learn.springboot.dao.mode.User;
import com.learn.springboot.dao.request.ResponseManage;
import com.learn.springboot.dao.response.CommonResponse;
import com.learn.springboot.service.UserService;

/**
 * @author suzheng
 * @date 2024-04-25
 **/
@RestController
@RequestMapping("/api/user")
public class UserController {
    @Autowired
    private UserService userService;

    @GetMapping("getCurrentUser")
    public CommonResponse getCurrentUser(){
        return ResponseManage.success();
    }
}
